#pragma once

#ifdef _WIN32
    #ifdef YU_MATH_LIB
    #define YU_MATH_API _declspec(dllexport)
    #else
    #define YU_MATH_API _declspec(dllimport)
    #endif
#elif defined(__linux__)
    #define YU_MATH_API __attribute__((visibility("default")))
#endif